package com.shop.cereshop.app.service.recommend;

import com.shop.cereshop.app.page.recommend.RecommendPageVO;
import com.shop.cereshop.app.param.recommend.RecommendLikeDTO;
import com.shop.cereshop.app.param.recommend.RecommendLikesParam;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.exception.CoBusinessException;

import javax.validation.constraints.NotNull;

public interface CereRecommendLikesService {

    Integer like(RecommendLikesParam param) throws CoBusinessException;

    Page<RecommendPageVO> getLikeRecommendPage(Long buyerUserId, @NotNull(message = "参数不为空") RecommendLikeDTO param);

    Integer commentLikesLike(RecommendLikesParam param) throws CoBusinessException;
}
